package top.codedance.iotp.common.executer;

import cd.io.netty.channel.ChannelHandlerContext;
import top.codedance.iotp.common.entity.CommonEntity;
import org.ini4j.Wini;

public abstract class SyncAbstractExecuter implements CommonClientPluginExecuter {
    protected Wini ini;

    @Override
    public void setIniConfig(Wini ini) {
        this.ini = ini;
    }

    @Override
    public Wini getIniConfig() {
        return this.ini;
    }

    /**
     * 空实现异步执行的接口
     * @param channelHandlerContext
     * @param commonEntity
     * @param taskId
     * @return
     */
    public void exec(ChannelHandlerContext channelHandlerContext, CommonEntity commonEntity, String taskId){

    }
}
